﻿using System.Linq;
using Singular.Dynamics;
using Singular.Helpers;
using Singular.Managers;
using Styx;


using Styx.TreeSharp;
using System.Collections.Generic;

namespace Singular.ClassSpecific.Monk
{
    /* Basic low level monk class routine by Laria. Commented out until MOP release. /
    public class Lowbie
    {
        [Behavior(BehaviorType.Combat | BehaviorType.Pull, WoWClass.Monk, 0)]
        private static List<string> JabSpellList = new List<string> { "Jab", "Club", "Slice", "Sever", "Pike", "Clobber" };
		
        public static Composite CreateLowbieMonkCombat()
        {
            return new PrioritySelector(
                Safers.EnsureTarget(),
                Movement.CreateMoveToLosBehavior(),
                Movement.CreateFaceTargetBehavior(),
                Helpers.Common.CreateAutoAttack(true),
                Helpers.Common.CreateInterruptSpellCast(ret => StyxWoW.Me.CurrentTarget),
                Spell.Cast("BlackoutKick", ret => StyxWoW.Me.Chi >= 1 && StyxWoW.Me.CurrentTarget.HealthPercent <= 50),
                Spell.Cast("TigerPalm", ret => StyxWoW.Me.GetCurrentPower(WoWPowerType.Chi) >= 1),
                Spell.Cast(JabSpellList.Find(s => SpellManager.CanCast(s))),
                Movement.CreateMoveToMeleeBehavior(true)
                );
        }

        [Behavior(BehaviorType.Combat | BehaviorType.Pull, WoWClass.Monk, 0)]
        public static Composite CreateLowbieMonkPull()
        {
            return new PrioritySelector(
                Movement.CreateMoveToLosBehavior(),
                Movement.CreateFaceTargetBehavior(),
                Helpers.Common.CreateAutoAttack(true),
                Movement.CreateMoveToMeleeBehavior(true)
                );
        }
    }
     */
}